home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / Target Acquisition Manager / Source / source / LClipPicture.h < prev   
Encoding:
Text File  |  1999-06-25  |  955 b   |  45 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    LClipPicture.h                   ©1993-1998 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4.  
  5. #ifndef _H_LClipPicture
  6. #define _H_LClipPicture
  7. #pragma once
  8.  
  9. #include <LView.h>
  10.  
  11. #if PP_Uses_Pragma_Import
  12.     #pragma import on
  13. #endif
  14.  
  15. PP_Begin_Namespace_PowerPlant
  16.  
  17. // ---------------------------------------------------------------------------
  18.  
  19. class    LClipPicture : public LView {
  20. public:
  21.     enum { class_ID = FOUR_CHAR_CODE('cPic') };
  22.     
  23.                         LClipPicture();
  24.                         LClipPicture(
  25.                                 const LClipPicture        &inOriginal);
  26.                         LClipPicture(
  27.                                 LStream                *inStream);
  28.                                 
  29.             void        SetPicture(PicHandle inPict);
  30.             PicHandle    GetPicture() { return mPICT; };
  31.             
  32. protected:
  33.     PicHandle            mPICT;
  34.  
  35.     virtual void        DrawSelf();
  36. };
  37.  
  38. PP_End_Namespace_PowerPlant
  39.  
  40.  
  41. #if PP_Uses_Pragma_Import
  42.     #pragma import reset
  43. #endif
  44.  
  45. #endif